home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / Open Me for REALbasic 3 / REALbasic 3.2 / Example Projects / Reusable Classes_Code / User Interface / CNetLink 1.0 / Read Me < prev   
Text File  |  1999-09-27  |  2KB  |  60 lines

  1. CNetLink 1.0
  2. by Olivier Robert ©1999
  3. Version 1.0
  4. 09/26/99
  5.  
  6.  
  7. What is it?
  8. CNetLink is a custom class of the canvas class that lets you easily create “Internet” links in your RB applications .
  9.  
  10. How to use it?
  11. Drag a canvas object to your window, then choose “CNetLink” in the Super PopUp from the “Porperties” window or just drag the CNetLink Class from your project window to your window. 
  12.  
  13. If the name of the canvas is “Canvas1” then all commands are entered in the Open and Action events of the canvas
  14.  
  15. Class properties:
  16.  
  17.                     Text, Font, Size, Underline, Bold, LinkColor, ClickedLinkColor.
  18.  
  19. Open Event:
  20.  
  21.                     me.Text = "MacManiacSW@idmac.com"     // Text to be displayed
  22.                     me.Font = "Geneva"                                                                    // Prefered Font
  23.                     me.Size = 9                                                                                            // Prefered Size
  24.                     me.Underline = True                                                                 // Underlined or not
  25.                     me.Bold = False                                                                                // Bold or not
  26.                     me.LinkColor = RGB(0,0,255)                                     // Color of the link
  27.                     me.ClickedLinkColor = RGB(255,0,0)                // Color of the link when it is cilicked
  28.                   
  29. Action Event:
  30.  
  31.                     Just put a “ShowURL” command in it!
  32.  
  33.                     ShowURL "mailto:MacManiacSW@idmac.com"
  34.                     ShowURL"http://www.apple.com/"
  35.                     ShowURL"ftp://ftp.apple.com/"
  36.  
  37. If you need more informations, check out the demo project to see how it works.
  38.                     
  39. Who made it?
  40.  
  41.  
  42.  
  43.  
  44.  
  45. MacManiac Software
  46. Olivier Robert
  47. 5, Impasse des Colibris
  48. F-57150 France
  49.  
  50. Site: http://MacManiacSW.idmac.com/
  51. Email: MacManiac-Software@kagi.com
  52.  
  53.  
  54. Legal blabla:
  55. CNetLink is free but copyrighted. If you use it in shareware, freeware, or commercial software, you have to mention me in the documentation or splash screen or about box or in a “Special Thanks” text.
  56.  
  57. This software may be distributed freely as long as the demo program and this readme remain unchanged with the class. This software may not be included in any software compilation CD's without the prior permission of the author.
  58.  
  59. N.B. I would really appreciate getting a fee copy of the application using this class, but that's not a demand. At least, send me an email if you use it ;-)
  60.